



package jerry.html.events;



import java.util.List;

/**
 * 
 * 
 * Dom team score update event
 * 
 * 
 * @author (h0t@_G0|i
 *
 */

public class DomScoreEvtImpl
    extends EvtCap
{

    public DomScoreEvtImpl(List<String> list)
    {
        if(list.size() < 4)
        {
            validEvt = false;
            return;
        } else
        {
            validEvt = true;
            timeStamp = Double.valueOf(list.get(0)).doubleValue();
            teamId = Integer.parseInt(list.get(2));
            score = Double.valueOf(list.get(3)).doubleValue();
            return;
        }
    }


    public double score;
    public int teamId;
}
